	ORG 0000H
	LJMP MAIN
	ORG 0003H
	LJMP INT
	ORG 0100H
MAIN:	
	SETB IT0 
	SETB EX0
	SETB EA
	MOV A,#00H
	MOV P1,A
	SJMP $
INT:	
	INC A
	MOV P1,A
	RETI
END